Skip to content
Member Filters
Show Inherited
Show Protected
Show abstract
GR32_Image🞂Paint Stage ConstantsConstant

Paint Stage Constants

Defines stage identifiers used by TPaintStage and TCustomImage32 rendering pipeline.

Declaration ​

pascal
PST_CUSTOM        = 1;
PST_CLEAR_BUFFER  = 2;
PST_CLEAR_BACKGND = 3;
PST_DRAW_BITMAP   = 4;
PST_DRAW_LAYERS   = 5;
PST_CONTROL_FRAME = 6;
PST_BITMAP_FRAME  = 7;

Description ​

The Paint Stage Constants define the build-in stage types executed during the rendering pipeline of TCustomImage32.

ConstantValueDescription
PST_CUSTOM1Invokes the OnPaintStage event with the current stage index.
PST_CLEAR_BUFFER2Clears the entire buffer using the background color.
PST_CLEAR_BACKGND3Clears visible background areas surrounding the bitmap (checkers, borders, drop shadow, pattern).
PST_DRAW_BITMAP4Draws the bitmap surface onto the destination buffer.
PST_DRAW_LAYERS5Renders visible layers according to the layer mask parameter.
PST_CONTROL_FRAME6Draws a dotted frame around the control bounds (design-time).
PST_BITMAP_FRAME7Draws a dotted frame around the scaled bitmap bounds (design-time).